package com.easywork.mystery.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * poetry 实体类
 * Fri Feb 15 15:07:53 CST 2019
 * @Mystery
 */ 
@Entity
@Table(name="poetry")
public class Poetry implements Serializable {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String title;
	private String author;
	private String kind;
	private String intro;
	private String content;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id=id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title=title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author=author;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind=kind;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro=intro;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content=content;
	}

}

